<?php

class IndexController extends Controller
{
    public function index()
    {
        $this->render();
    }

    public function test()
    {
        //$user=Model::model('User')->findByPk(35);
        //$user=Model::model('User');

        //Sys::show(Model::model('User')->update($newUsers),1);
        //Sys::show($user->update($attributes[35]),1);

        //$this->partial='partials/__partial';
        //$this->partial=array('partials/__partial',array('mes'=>'Partial 1'));
        //$this->setPartial('partials/__partial',array('mes'=>'Partial 1'));
        $newParams=array(
            array(
                'nickName'=>'vasya_new_1994',
                'name'=>'Вася ',
                'lastName'=>'Пипискин',
                'telephone'=>'889-66-33',
                'email'=>'vasya_new_1994@mail.ru',
                'role'=>1,
                'status'=>1,
            ),
        );

        $this->render(array(
            'mes'=>'Fuck the system!',
        ));
    }
}